package com.tchintech.pay.delegate;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.tchintech.pay.R;
import com.tchintech.pay.frame.view.AppDelegate;

import butterknife.Bind;

/**
 * Created by Administrator on 2017/7/11 0011.
 */

public class CodeReceiveDelegate extends AppDelegate {
    @Bind(R.id.recycle)
    RecyclerView recycle;
    @Bind(R.id.iv_back)
    ImageView back;
    @Bind(R.id.tv_title)
    TextView textView;
    @Bind(R.id.et_pay)
    EditText editText;
    @Bind(R.id.bt_next)
    Button bt_next;
    @Bind(R.id.tv_phone)
    TextView tv_phone;
    @Bind(R.id.tv_name)
    TextView tv_name;
    @Override
    public int getRootLayoutId() {
        return R.layout.activity_codereceive;
    }

    public RecyclerView getRecycle() {
        return recycle;
    }
    /**
     * 显示返回图片
     */
    public void setVisible(){
        back.setVisibility(View.VISIBLE);
    }

    public void setTitle(String str){
        textView.setText(str);
    }

    public  EditText getEdit(){
        return  editText;
    }

    public TextView getTextviews(int id){
        TextView tv=null;
        return tv=get(id);
    }


}
